|
|
|
|
Tab Constructor |
Initializes a new instance of the Tab class.
Syntax Tab Class (Softelvdm.SftTabsNET)
VB |
Public Sub New()
|
C# |
public Tab(); |
C++ |
public: Tab(); |
Defines the tab's text and image alignment (Align property).
Value |
Description |
|
0 | The graphic is displayed to the left of the tab text. Text and graphic are horizontally and vertically centered within the tab. | |
1 | The graphic is displayed to the right of the tab text. Text and graphic are horizontally and vertically centered within the tab. | |
2 | The graphic is displayed above the tab text. Text and graphic are horizontally and vertically centered within the tab. | |
3 | The graphic is displayed below the tab text. Text and graphic are horizontally and vertically centered within the tab. | |
4 | The graphic is displayed to the left of the tab text. Text and graphic are displayed left adjusted and vertically centered within the tab. | |
5 | The graphic is displayed to the right of the tab text. Text and graphic are displayed right adjusted and vertically centered within the tab. |
BackColor
Defines the tab's background color (BackColor property).
BackColorSelected
Defines the tab's background color, used when then tab is the current tab (BackColorSelected property).
ClientAreaColor
Defines the color of the client area associated with the tab (ClientAreaColor property).
Enabled
Defines whether the tab is enabled (Enabled property).
ForeColor
Defines the tab's foreground color (ForeColor property).
ForeColorSelected
Defines the tab's foreground color, used when then tab is the current tab (ForeColorSelected property).
HotTrackColor
Defines the tab's foreground color used for hot-tracking (HotTrackColor property).
Image
Defines the Image displayed in the tab (Image property).
ImageIndex
Defines the image index used for the tab image (ImageIndex property).
ImageList
Defines the ImageList used for the tab image (ImageList property).
Name
Defines the tab's name, used to access the tab by name instead of by index (Name property).
Tag1
Defines the tab's application-defined object (Tag1 property).
Tag2
Defines the tab's application-defined object (Tag2 property).
Text
Defines the tab's text (Text property).
ToolTip
Defines the tab's tooltip text (ToolTip property).
Transparent
Defines whether the tab image uses image transparency (Transparent property).
Visible
Defines whether the tab is visible (Visible property).
Comments
The Tab constructor initializes a new instance of the Tab class.
The Tab class has been replaced by the new, equivalent TabClass type. Only the TabClass constructor without arguments should be used starting with SftTabs/NET 6.0, as most properties (such as Align) have been replaced with newer features.